package org.thanos.bacnet.event;

import org.thanos.bacnet.LocalDevice;
import org.thanos.bacnet.exception.BACnetErrorException;
import org.thanos.bacnet.type.Encodable;
import org.thanos.bacnet.type.EncodedValue;
import org.thanos.bacnet.type.constructed.Address;
import org.thanos.bacnet.type.primitive.UnsignedInteger;

public interface PrivateTransferHandler {
    Encodable handle(final LocalDevice localDevice, final Address from, final UnsignedInteger vendorId,
            final UnsignedInteger serviceNumber, final EncodedValue serviceParameters, boolean confirmed)
            throws BACnetErrorException;
}
